package com.xgxx.chendawei.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xgxx.chendawei.system.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 教师信息 Mapper
 */
@Mapper
public interface TeacherMapper extends BaseMapper<Teacher> {

    List<Teacher> queryListBySql(Teacher m);

    Page<Teacher> queryPageBySql(@Param("model") Teacher o, @Param("page") Page<Teacher> page);
}

